<?php
/**
 * Created by PhpStorm.
 * User: jocky
 * Date: 07/10/2017
 * Time: 18:53
 */
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title>pay online</title>
</head>
<body onload="document.pay.submit()">
<form name="pay" action="<?= $url; ?>" method="post">
    <?php
    $str = "";
    foreach ($post as $k => $v) {
        $str .= "<input type='hidden' name='" . $k . "' value='" . $v . "' />";
    }
    echo $str;
    ?>
</form>
</body>
</html>
